package texas

import (
	"sort"
)

//取数组最大值
func Max(vals []int) int {
	var max int
	for _, val := range vals {
		if val > max {
			max = val
		}
	}
	return max
}

//取数组最小值
func Min(vals []int) int {
	var min int
	for _, val := range vals {
		if min == 0 || val <= min {
			min = val
		}
	}
	return min
}

// 玩家位置分为以下几种：
// 庄家、小盲注、大盲注、EP、MP、LP等
var PlayerRole = map[int]string {
	1: "BTN",
	2: "SB",
	3: "BB",
	4: "EP",
	5: "EP",
	6: "MP",
	7: "MP",
	8: "LP",
}

func Groups(cards Cards){
	sort.Sort(cards)

}